package lumingweihua.future.cn.lumingweihua.home.domain;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/3/21.
 */

public class UnloadData implements Serializable{
    private String unload;
    private String unload_address;
    private String lat;
    private String lon;
    private String take_mobile;

    public String getUnload() {
        return unload;
    }

    public void setUnload(String unload) {
        this.unload = unload;
    }

    public String getUnload_address() {
        return unload_address;
    }

    public void setUnload_address(String unload_address) {
        this.unload_address = unload_address;
    }

    public double getLat() {
        double l = 0;
        try {
            l = Double.valueOf(lat);
        } catch (Exception e) {
            // TODO: handle exception
        }
        return l==0?30.26:l;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public double getLon() {
        double l = 0;
        try {
            l = Double.valueOf(lon);
        } catch (Exception e) {
            // TODO: handle exception
        }
        return l==0?120.19:l;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getTake_mobile() {
        return take_mobile;
    }

    public void setTake_mobile(String take_mobile) {
        this.take_mobile = take_mobile;
    }
}
